Repository navigation
feat(android): estimate the TalkBack swipe order in audit - #5025
Conversation
Size Report
Startup median (7 runs, lower is better):
|
This comment has been minimized.
This comment has been minimized.
|
The code in feebc2f is ready: the review found no blocking problems. Repo Guards & Compatibility fails because the fallow production-exports gate flags the new re-export of Not blocking, take or leave: (1) with this change almost every Android audit returns order refs, so a plain ref from an earlier Not verified here: the fixture comparison tests, a fresh TalkBack recording on a device, a line-by-line diff of the port against TalkBack 16.2, and the memory the lazy closure retains on large trees. Accuracy rests on the four committed TalkBack 17 recordings and the author's emulator run. |
audit now reports screenReaderOrder on Android: the refs a TalkBack swipe is estimated to visit, per app window, computed from one helper capture with a TypeScript port of TalkBack 16.2's traversal and focus rules (Apache-2.0, attributed in LICENSES/talkback.txt and the bundled notices). The snapshot helper now writes the facts those rules read: a capture-wide node id, traversal links, screen-reader focusable, importance, the focus action, state description, collection and range info. The estimate drops nodes that are not important for accessibility, which UiAutomation captures include and TalkBack never receives. A capture from an older helper reports no order. Fixtures are real emulator captures with the order TalkBack 17 visited. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
feebc2f to
595590f
Compare
Apex Sentinel · ✅ Approve · review of
|
| Command | What it does |
|---|---|
@apex-sentinel-staging note <context> |
Adds context; Sentinel re-checks the cited code |
@apex-sentinel-staging pivot <why> |
Says the finding is wrong; Sentinel re-checks the cited code |
@apex-sentinel-staging like |
Marks the finding as useful |
@apex-sentinel-staging dislike <why> |
Marks it as not useful, so it is not raised again |
On this conversation, comment @apex-sentinel-staging review to run a full review once again.
|
The PR is ready at 595590f. The earlier blockers (the production-exports gate and Coverage) are fixed, and all required checks now pass, including Repo Guards & Compatibility, Coverage and a re-run of Body rules. No conflicts. Not blocking, take or leave: snapshot-audit.ts imports readSnapshotClickabilityEvidence statically from |
Summary
auditon Android now reportsscreenReaderOrder: the refs a TalkBack swipe is estimated to visit, per app window, labeled as an estimate. It comes from a TypeScript port of TalkBack 16.2's traversal and focus rules (Apache-2.0, attributed inLICENSES/talkback.txtand the bundled notices), run on one helper capture.Before / after
agent-device auditon Clock (World Clock tab), emulator API 37:Before:
No findings — current screenAfter:
The refs match the order TalkBack 17 recorded on this screen.
Validation
At
595590fb93, rebased ontomain(ecb2089867):feebc2faed, emulator API 37 with helper0.21.43-devandandroid-helperproduced the output above.Risks: no auto-scroll, cross-window order, or WebView; pinned to TalkBack 16.2.
🤖 Generated with Claude Code
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.